﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Power.Models
{
    public class AIDistinguishEntity:BaseModel
    {
        private ObservableCollection<WorkSpaceEntity> workAreaList;
        public ObservableCollection<WorkSpaceEntity> WorkAreaList
        {
            get => workAreaList;
            set
            {
                workAreaList = value;
                RaisePropertyChanged();
            }
        }

        private ObservableCollection<VideoEntity> videoList;
        public ObservableCollection<VideoEntity> VideoList
        {
            get => videoList;
            set
            {
                videoList = value;
                RaisePropertyChanged();
            }
        }

        private ObservableCollection<SelectListItem> regionSelectList;
        public ObservableCollection<SelectListItem> RegionSelectList
        {
            get => regionSelectList;
            set
            {
                regionSelectList = value;
                RaisePropertyChanged();
            }
        }

        private List<SelectListItem> blockSelectList;
        public List<SelectListItem> BlockSelectList
        {
            get => blockSelectList;
            set
            {
                blockSelectList = value;
                RaisePropertyChanged();
            }
        }

        private List<SelectListItem> workSelectList;
        public List<SelectListItem> WorkSelectList
        {
            get => workSelectList;
            set
            {
                workSelectList = value;
                RaisePropertyChanged();
            }
        }

        private List<SelectListItem> videoSelectList;
        public List<SelectListItem> VideoSelectList
        {
            get => videoSelectList;
            set
            {
                videoSelectList = value;
                RaisePropertyChanged();
            }
        }
    }

    public class SelectListItem : BaseModel
    {
        private string selectItem;
        private string selectID;

        public string SelectItem { get => selectItem; set { selectItem = value; RaisePropertyChanged(); } }

        public string SelectID { get => selectID; set { selectID = value; RaisePropertyChanged(); } }
    }
}
